-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storage.go: Make query tikv for ddl too #757
Conversation
/run-all-tests tidb=release-3.0 tikv=release-3.0 pd=release-3.0 |
2 similar comments
/run-all-tests tidb=release-3.0 tikv=release-3.0 pd=release-3.0 |
/run-all-tests tidb=release-3.0 tikv=release-3.0 pd=release-3.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-all-tests tidb=release-3.0 tikv=release-3.0 pd=release-3.0 |
Co-Authored-By: Ian <ArGregoryIan@gmail.com>
pump/storage/storage.go
Outdated
return true | ||
err = a.metadata.Put(encodeTSKey(req.ts()), pointer, nil) | ||
if err != nil { | ||
log.Error("put into metadata failed", zap.Error(req.err)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log.Error("put into metadata failed", zap.Error(req.err)) | |
log.Error("put missing binlog into metadata failed", zap.Int64("start ts", startTS), | |
zap.Uint64("commit ts", status.CommitTS()), | |
zap.Bool("isDDL", pbinlog.GetDdlJobId() > 0)), | |
zap.Error(req.err)) |
Rest LGTM |
/run-all-tests tidb=release-3.0 tikv=release-3.0 pd=release-3.0 |
1 similar comment
/run-all-tests tidb=release-3.0 tikv=release-3.0 pd=release-3.0 |
/run-all-tests tidb=release-3.0 tikv=release-3.0 pd=release-3.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/rebuild |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-integration-tests |
1 similar comment
/run-integration-tests |
/run-all-tests tidb=release-3.0 tikv=release-3.0 pd=release-3.0 |
What problem does this PR solve?
Call CleanUp cmp for ddl binlog too.
may get the txn status from tikv or skip the binlog.
What is changed and how it works?
Check List
Tests
Code changes
Side effects
Related changes